Skip to content

fix: harden invalid graphml import handling#374

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/graphml-import-hardening
Open

fix: harden invalid graphml import handling#374
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/graphml-import-hardening

Conversation

@avinxshKD
Copy link

Fix invalid GraphML import handling
Malformed/partial GraphML was failing inconsistently and could blow up in import flow.

This patch makes import failure deterministic:

  • parser now rejects on invalid XML/GraphML

  • import handlers catch and show Invalid GraphML file.

  • applied in both toolbar import and setGraphML() path

closes #373

@avinxshKD
Copy link
Author

@pradeeban This patch hardens malformed GraphML import handling so users get a clear error instead of runtime failure, pls take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant